package com.chushouya.manager.service.common.impl;

import com.chushouya.manager.dao.entity.ProgramEntity;
import com.chushouya.manager.dao.repository.AlipayProgramRepository;
import com.chushouya.manager.service.common.AlipayProgramService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AlipayProgramServiceImpl implements AlipayProgramService {

    @Resource
    private AlipayProgramRepository alipayProgramRepository;

    @Override
    public ProgramEntity selectByAppId(String appId) {
        return alipayProgramRepository.selectByAppId(appId);
    }

}
